cmake_minimum_required(VERSION 2.8)

project(UnitTest)

file(GLOB_RECURSE  UnitTest_SOURCE_FILES ./*.*)


include_directories(${OPENCL_INCLUDE_DIRS} 
	../FireRays/include
	../Gtest/include 
	../CLW/include 
	../Calc/include 
	../GLEW/include 
	F:/wxfworkspace/freeglut/include)

link_directories(${PROJECT_BINARY_DIR}/../Debug F:/wxfworkspace/freeglut/lib/x64/Debug)

add_executable(${PROJECT_NAME} ${UnitTest_SOURCE_FILES})
add_dependencies(${PROJECT_NAME} FireRay CLW Calc)

target_link_libraries(${PROJECT_NAME} ${OPENCL_LIBRARIES} Gtest.lib FireRay.lib Calc.lib CLW.lib GLEW.lib freeglut.lib)

SET(EXECUTABLE_OUTPUT_PATH  ${PROJECT_BINARY_DIR}/../)